<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Update Food Info</title>
</head>
<body>
<form action="updatefood" method="post" enctype="multipart/form-data">
<input type="hidden" name="fid" value="${f.fid }" placeholder="Food Name"/>
<p><input type="text" name="fname" value="${f.fname }" placeholder="Food Name"/></p>
<p><input type="text" name="ftype" value="${f.ftype }" placeholder="Food Type"/></p>
<p><input type="text" name="fprice" value="${f.fprice }" placeholder="Food Price"/></p>
<p><input type="file" name="fimage" placeholder="Upload Food Image"/></p>
<p><input type="submit" value="Update Food"/></p>
</form>
<a href="back"><button>Back</button></a>
</body>
</html>